import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';
import {BsDropdownModule,PaginationModule,CarouselModule,ProgressbarModule,TooltipModule } from 'ngx-bootstrap';
import { HttpModule }    from '@angular/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

import {AppComponent} from './app.component';
import {AppRoutingModule} from './app-routing.module';
import {HomeComponent} from './pages/home/home.component';
import {HeaderComponent} from './components/header/header.component';
import { ApisService } from './apis.service';
import { LocalStorageService } from './local-storage.service';
import { CategoryComponent } from './pages/category/category.component';
import { GoodsListComponent } from './components/goods-list/goods-list.component';
import { GoodsItem0Component } from './components/goods-item0/goods-item0.component';
import { GoodsItem1Component } from './components/goods-item1/goods-item1.component';
import { GoodsItem2Component } from './components/goods-item2/goods-item2.component';
import { ViewComponent } from './pages/view/view.component';
import { FooterComponent } from './components/footer/footer.component';
import { SearchComponent } from './pages/search/search.component';
import { IconshowComponent } from './components/iconshow/iconshow.component';
import { QianggouComponent } from './pages/qianggou/qianggou.component';
import { TqgListComponent } from './components/tqg-list/tqg-list.component';
import { AdsShowComponent } from './components/ads-show/ads-show.component';
import { SuperListComponent } from './components/super-list/super-list.component';
import { SuperCouponComponent } from './pages/super-coupon/super-coupon.component';
import { GoodsItem3Component } from './components/goods-item3/goods-item3.component';

@NgModule({
  declarations: [
    AppComponent, HomeComponent, HeaderComponent, CategoryComponent, GoodsListComponent, GoodsItem0Component, GoodsItem1Component, GoodsItem2Component, ViewComponent, FooterComponent, SearchComponent, IconshowComponent, QianggouComponent, TqgListComponent, AdsShowComponent, SuperListComponent, SuperCouponComponent, GoodsItem3Component
  ],
  imports: [
    FormsModule, ReactiveFormsModule,HttpModule,BrowserModule, AppRoutingModule, BsDropdownModule.forRoot(),PaginationModule.forRoot(),CarouselModule.forRoot(),ProgressbarModule.forRoot(),TooltipModule.forRoot()
  ],
  providers: [ApisService],
  bootstrap: [AppComponent]
})
export class AppModule {}